package net.sipvip.client;

import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.DecoratorPanel;

public class Lesson extends Composite {
//	final DecoratorPanel  decoratorpanel = new DecoratorPanel();
	public Lesson(String video, String image) {
		
		content = new DecoratorPanel();
		initWidget(content);
				
		JWplayer jwplayer = new JWplayer(
				video,
				image);
		jwplayer.setUrl(image);
		
		content.add(jwplayer);
		
//		decoratorpanel.add(jwplayer);
//		initWidget(decoratorpanel);
 				
					}
	private  DecoratorPanel content;
}
